package top.laoshuzi.server.userservice.utils.constants;

import top.laoshuzi.server.common.pojo.ResponseError;

public enum ServerErrorConstants {

    THRIFT_SERVER_ERROR(new ResponseError(10001, "Thrift服务器错误"));

    private ResponseError error;

    ServerErrorConstants(ResponseError error) {
        this.error = error;
    }

    public ResponseError getError() {
        return error;
    }
}
